package com.miao.config;

import java.io.FileWriter;
import java.io.IOException;

public class AlipayConfig {


    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
    public static String app_id = "9021000138699175";

    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCNxzOES9+aIWajEcUNnvHmsqbaE1G8QhIAPstvCcSEn2JuyTwuMe21Xawz/LlH7LfQqlpvEv52X4OxQjpmdLvQadRGAlYkFtPX8GqK/likw2w1SmJiJIMY2ATKKtLPmjo4cd+XFZ2JBTCwZ1Iypdy64y1uXKMykyule+qBaB98NYaYW7M3tqb4XJfKGtIQFA9tCzi0aZ6q6SMoMVCDpSU9O+o6JI8JzFnFolMCPlD8RbbCoY/hMYi+OcWstZu46ETEWo5I1/1otRJ8M1P9L2NfyqNtJzY5l8KtXpNzQ7jcYQi36qAy7i8i4siA/52EXD8ixd0Jf9MpMDmYQoTnkZUzAgMBAAECggEAJMUmGkinTE0fVmmUZqzzZfatiV97Ukz8aC3hCwJIgnDn0X3FauGuGdyafb0svHerUKXt4GLXthGdkQpxJQNfdnUMBcAzYRa+iIGk0DmY+dppJQUOsQ9xJK9ZxqkGlasVMHBwIboMam37K7UQP2x+68Vhkf7aoJJEvp19u2QqzkacdP2IcAjNo/ulZ/BxcxPjn0CCiS7eCw7efeglIbXtZHNYX+hJni9ow/B+TvAWyZeVqO4QgSBBCy0js4NzN3hjCbqEk5mpKIOK6EnIFFCnvfGdznlZ6S/McJIQWrGKT4WlagcurQkDb00GQdgnWzwGbKNKgKXrGQ8jlO8w44+8UQKBgQDM+VyQ8vPsKRoQ7NJ+xUBbYOx/kv79gTMnN0O3SbZlX3vwQ6uToVf6ugN/E1ifvJ6FnoY84hdoZVpPSOXUdklqP8UtV6DmP/KMqb9HnlOKihJlBJz+MTxyONPIiUSztFztox7POKexMu/h/HPAn1USATYZ5WGwj8Fm+TgHh3P/ewKBgQCxEnkgGzPQ9AVH7b862s9Dwwoq3UmQ8V4Acqh7FyeevYW0yBabjLUH7K4kQ79lKbAW6UfemTb7ShhGteEeQa14eyGv1R84vmKW/qX8lavnzAPEDCpcn7qdKGYWxG82ir6kqF/nv1B4evWaZiVlhswzXyMfJxA8uzowMndXfAe3qQKBgFohpJSQYLYN9MpQeNcJwZzs59HJP5sVfvrVkE8+eJfm/sbN2tqV7evwc60jQqsq88HpzTlkacqcFrQaaAWe5fV0iS3BBJ16rRsxYU0Kz81xnVkSSD52RBAt8OKTicRDoUFVoyyXyxVeQqFqszOWXIAITFPiy6wp6m9vUzXsWBOVAoGAAby/qXv61yr9vkXr4WTyMaUBPYhsR1rG5FQ7qPGCNwF/BVYNOrt3rzs4PizX/OMa0i65wMpaCr8gW9k++zADxrHWk8YQh1r+1qJq+H5zcFPFGbBQ3hXHG/GghsqomK1lz3HDdx+eZ4A1Vq134nYfHMXrL0wP0bi4im6EUzxpSvkCgYBc9rdT+mFK9f1snqpMYubqqaUuui27B7i/Zx5CCn/ZOtwUrjyQsLrbZBxNpi3a3QG/BktTL9kAcky1aiObZolzcz106n5WbKeN02yYzVirXYP+/EKGaafiFoAChh54iY1bN049L12gsLjFNDFop2Wh9mxLnNOT9XIah1YlEz3Oyg==";
    // 支付宝公钥
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsqhFVjgGgVwijy0KRZthLTerChdZxSL7UpCCGoCakyuIAIsgpNg+Lm67oKRDsWKyrJl0ldhyoojsx+om6E5RglVgyHX14+oBP8XqN+BRyoB5xaxB1Z1ogA1jGw6wbEJO3Db/5B4XdYNb1js85OdcxhMEqmTJVIKeJBuVOTM95LOnC84YvwPcc9J6uiE/PVz9XpiuYzhQp/hffngXUqFwyRMNRHsuiBQipFT86F943ukeVPOICv8yskV9EkRN9QItwKG9yxU4vrM0iqVd3Lr4o+zGTA7uroTq2ZcZ8yxCBPzIcP3JAoSqdb6mOrGxYjNotvu9MvLGgFwLEUra8LxfcwIDAQAB";

    // 服务器异步通知页面路径
    //需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://127.0.0.1:8080/pay/notifyUrl";

    // 页面跳转同步通知页面路径
    //需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String return_url = "http://localhost:5173/payResult";

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String charset = "utf-8";

    // 支付宝网关,注意这些使用的是沙箱的支付宝网关，与正常网关的区别是多了dev
    public static String gatewayUrl = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";
}
